<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>实名认证 - 用户中心</title>

   {include file="public/css"}
   {include file="public/js"}
</head>
<body>

{include file="public/header"}

<div class="layui-container fly-marginTop fly-user-main">
<div class="user-left-menu" >
{include file="public/left_menu"}
</div>


<div class="fly-panel fly-panel-user user-right-content" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title">
        <li class="layui-this">
          资质认证
        </li>
      </ul>
      <div class="layui-tab-content"  style="padding: 20px 0;">
          <ul class="realname-list">
              <li><div class="layui-input-inline realname-icon">
                <i class="iconfont  iconshouji"></i></div>
                <div class="layui-input-inline realname-name"><p><strong>手机认证</strong></p><p>点击立即认证，通过手机短信认证</p></div>
                <div class="layui-input-inline">
                  {if $user.is_mobile ==1}
                  <i class="fa fa-check-circle" aria-hidden="true" style="color:green"></i> 已通过  <a href="{:url('@user/set/index')}">更换手机</a>  
                  {else}
                  <a href="{:url('@user/set/index')}" class="layui-btn layui-btn-normal">立即认证</a>
                  {/if}
                  
                
                </div>
              
              </li>
              <li><div class="layui-input-inline realname-icon">
                <i class="iconfont  iconmail"></i></div>
                <div class="layui-input-inline realname-name"><p><strong>邮箱认证</strong></p><p>点击立即认证，通过接收邮件认证</p></div>
                <div class="layui-input-inline" style="width: 145px;">
                    {if $user.is_email ==1}
                    <i class="fa fa-check-circle" aria-hidden="true" style="color:green"></i> 已通过  <a href="{:url('@user/set/index')}">更换邮箱</a>  
                  {else}
                  <a href="{:url('@user/set/index')}" class="layui-btn layui-btn-normal">立即认证</a>
                  {/if}
                  </div></li>
              <li><div class="layui-input-inline realname-icon"><i class="iconfont  iconshimingzhi"></i></div>
              

                <div class="layui-input-inline realname-name"><p><strong>实名认证</strong></p><p>点击立即认证，完成个人或者企业认证</p></div>
                <div class="layui-input-inline">
              {if $user.is_realname ==1}
                <i class="fa fa-check-circle" aria-hidden="true" style="color:green"></i> 已通过 
              {else}
              <a href="{:url('user/validate/realname')}" class="layui-btn layui-btn-normal">去认证</a>
              {/if}
                  </div></li>
             
            </ul>
    

      </div>
    </div>
  </div>
  
</div>


</body>
</html>